import Vue from 'vue'
import App from './App'

import store from './store'

Vue.config.productionTip = false

Vue.prototype.$store = store

const https = require('./request/index.js')
//挂载到Vue实例
//无token请求
Vue.prototype.http = https.request
//含token请求
Vue.prototype.https = https.requests


App.mpType = 'app'

const app = new Vue({
	store,
	...App
})
app.$mount()
